
var quotations={
  len:2,
  get:function(cb){
    var id= parseInt(Math.random()*this.len);
    $.get("quotations/"+id+".txt",cb)
  },
  change:function(){
    this.get(function(data){
      $("#quotations").text(data)
    })
  },
}

quotations.change()
